<?php
    if(isset($arr_Duplicate))
    {
        $this->data =  $arr_Duplicate;
    }
?>
<fieldset>
    <legend><h3>Chỉnh sửa nhóm</h3></legend>
    <br />
    <a href ="/admin/nhoms/">Trở về trang Index</a>
    <br />
    <?php echo $this->Form->create("Nhom"); ?>
    <?php echo $this->element('message'); ?>
    <div class="boxSearch">
        <div class="row_mexu">
            <span style="width: 110px;" class="txt_mexu">Tên nhóm <span style="color: red">*</span></span>
            <span class="input_mexu">
                <?php echo $this->Form->input( "tennhom", array(
                                                    "label" => false,
                                                    "type"  => "text",
                                                    "style" =>  "width:200px;",
                                                    "placeholder" => "Tên nhóm"
                                            ) ); ?>
            </span>
        </div>
        <div class="row_mexu">
            <span style="width: 110px;" class="txt_mexu">Mô tả</span>
            <span class="input_mexu">
                <?php echo $this->Form->input( "mota", array(
                                                    "label" => false,
                                                    "type"  => "textarea",
                                                    "escape"  => false,
                                                    "rows" => "5",
                                                    "cols" => "22"
                                            ) ); ?>
            </span>
        </div>
        <div class="row_mexu">
            <span style="width: 110px;" class="txt_mexu">&nbsp;&nbsp;</span>
            <span class="input_mexu">
                 <input type="submit" class="button" value="Sửa"/>
                 <?php echo $this->Form->hidden('id'); ?>
            </span>
        </div>
        <div class="clear"></div>
    </div>
    <?php echo $this->Form->end(); ?>
</fieldset>